{assign var=id value=$item._id}
<div class="subContent" id="beh_cmt_{$item._id}">                                	
    {include file="index/box-behaviour-comment.tpl" type=$item.type}
</div>
{if $item.type == 1 || ($item.type == 2 && $item.stype > 21) || ($item.type==4 && $item.info.acmt)}
    <form name="frmCmt{$id}" id="frmCmt{$id}" method="post" action="" onsubmit="return postCmt('{$arrDefault.cmt}','{$id}',{$item.srcid},{$item.type});">    	
    	{comment name="pcontent$id" default=$arrDefault.cmt}
    </form>
{elseif $item.type == 3}
    <form name="frmCmt{$id}" id="frmCmt{$id}" method="post" action="" onsubmit="return postCmt('{$arrDefault.stt_reply}','{$id}',{$item.srcid},{$item.type});">
    	{comment name="pcontent$id" default=$arrDefault.stt_reply}
    </form>
{elseif $item.type == 5}
	<form method="post" name="frmCmt{$id}" id="frmCmt{$id}" onsubmit="return postCmt('{$arrDefault.send_cmt}','{$id}',{$item.srcid},{$item.type});" action="">
    	{comment name="pcontent$id" default=$arrDefault.send_cmt}
        {*
        return postCmtFck('{$arrDefault.cmt}','{$id}',{$item.srcid},{$item.type});
        {"pcontent$id"|fck:$arrDefault.cmt:"CmtNews":"455":"100px"}
        <input type="submit" value="Gửi bình luận" class="btn rFloat tMargin10" name="send"/>
        *}
    </form>
{/if}
<div class="loading" id="loadingCmt{$id}" style="display:none;">
    <p align="center"><img src="{$smarty.const.HOST_STATICS}img/bg/loading-bar.gif" alt="loading" width="88" height="7" border="0" /></p>
    <p align="center">Đang xử lý gửi bình luận của bạn. Vui lòng chờ trong giây lát.</p>
    <p>&nbsp;</p>
</div>